from django.urls import path
from info.interface.notice import create as notice_create, profile as notice_profile, list as notice_list, \
    update as notice_update, delete as notice_delete
from info.interface.mail.sender import create as mail_sender_create, profile as mail_sender_profile, \
    list as mail_sender_list, update as mail_sender_update, delete as mail_sender_delete
from info.interface.mail.recipient import list as mail_recipient_list, profile as mail_recipient_profile, \
    delete as mail_recipient_delete


urlpatterns = [
    path('notice/create', notice_create.API.as_view()),
    path('notice/profile', notice_profile.API.as_view()),
    path('notice/list', notice_list.API.as_view()),
    path('notice/update', notice_update.API.as_view()),
    path('notice/delete', notice_delete.API.as_view()),
    path('mail/sender/create', mail_sender_create.API.as_view()),
    path('mail/sender/profile', mail_sender_profile.API.as_view()),
    path('mail/sender/list', mail_sender_list.API.as_view()),
    path('mail/sender/update', mail_sender_update.API.as_view()),
    path('mail/sender/delete', mail_sender_delete.API.as_view()),
    path('mail/recipient/list', mail_recipient_list.API.as_view()),
    path('mail/recipient/profile', mail_recipient_profile.API.as_view()),
    path('mail/recipient/delete', mail_recipient_delete.API.as_view()),
]
